Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ractor] shareable_constant_value: literal makes constants shareable between ractors #892

Closed
wants to merge 4 commits into from

Conversation

josacar
Copy link

@josacar josacar commented Oct 30, 2021

Ref. #823

Magic comment shareable_constant_value added to freeze constants.
See {Magic Comments}[rdoc-ref:doc/syntax/comments.rdoc@Magic+Comments] for more details.
[Feature #17273]

language/ractor_spec.rb Outdated Show resolved Hide resolved
language/ractor_spec.rb Outdated Show resolved Hide resolved
language/ractor_spec.rb Outdated Show resolved Hide resolved
language/ractor_spec.rb Outdated Show resolved Hide resolved
language/ractor_spec.rb Outdated Show resolved Hide resolved
@eregon
Copy link
Member

eregon commented Oct 9, 2022

@josacar Hello, any chance you could finish this PR based on the feedback?

@josacar
Copy link
Author

josacar commented Oct 12, 2022

I'll try to finish it once I'm back home.

@josacar josacar force-pushed the shareable_constant_value branch 4 times, most recently from aef41c1 to fed7460 Compare October 30, 2022 18:18
@eregon
Copy link
Member

eregon commented Feb 6, 2024

I will close this one, sorry, because Ractor seems (currently at least) very much an experimental CRuby-specific feature.
The reasoning in more details is in #1043 (comment)

@eregon eregon closed this Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants